//
//  YYKeychain+SYAdd.h
//  yykeychaine
//
//  Created by huchu on 2018/5/25.
//  Copyright © 2018年 sysjones. All rights reserved.
//

#import "YYKeychain.h"
NS_ASSUME_NONNULL_BEGIN
@interface YYKeychain (SYNAdd)

/**
 获取AppIdentifierPrefix

 @return  获取AppIdentifierPrefix
 */
+(NSString*)appldentifierPrefix;


+(BOOL)setPassword:(NSString *)password forService:(NSString *)serviceName account:(NSString *)account group:(NSString *)group error:(NSError * _Nullable __autoreleasing *)error;
+(BOOL)setPassword:(NSString *)password forService:(NSString *)serviceName account:(NSString *)account group:(NSString *)group;


+(NSString *)getPasswordForService:(NSString *)serviceName account:(NSString *)account group:(NSString *)group;
+(NSString *)getPasswordForService:(NSString *)serviceName account:(NSString *)account group:(NSString *)group error:(NSError * _Nullable __autoreleasing * _Nullable)error;


+(BOOL)deletePasswordForService:(NSString *)serviceName account:(NSString *)account group:(NSString*)group;
+(BOOL)deletePasswordForService:(NSString *)serviceName account:(NSString *)account  group:(NSString*)group error:(NSError * _Nullable __autoreleasing *)error;
@end
NS_ASSUME_NONNULL_END
